<div class="layui-header">
    <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">
        <li class="layui-nav-item" lay-unselect="">
            <a lay-href="app/message/" layadmin-event="message"> <i class="layui-icon layui-icon-notice"></i>
                <span class="layui-badge-dot"></span>
            </a>
        </li>
        <li class="layui-nav-item" lay-unselect="">
            <a href="javascript:;"> <cite>{$userInfo.user_name}</cite>
            </a>
            <dl class="layui-nav-child layui-anim layui-anim-upbit">
                <dd><a href="javascript:;" onclick="openFrame('/admin/user/profile/','修改我的资料',500,350);">基本资料</a>
                </dd>
                <dd><a href="javascript:;" onclick="openFrame('/admin/user/password/','修改我的密码',400,300);">修改密码</a>
                </dd>
                <dd layadmin-event="logout" style="text-align: center;"><a href="javascript:;" onclick="logout()">退出</a>
                </dd>
            </dl>
        </li>
    </ul>
</div>
<div class="layui-side layui-side-menu">
    <div class="layui-side-scroll">
        <a class="layui-logo" href="/admin" style="background-color:#f5f5f5;">{$Think.config.app_name}</a>
        <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu">
            {volist name="menuList" id="item"}
            <li data-name="" data-jump="" class="layui-nav-item {if condition='$node.node_pid==$item.node_id'}layui-nav-itemed{/if}">
                <a {if condition="count($item.subList)==0" }href="/{$item.node_module}/{$item.node_controller}/{$item.node_action}" {else}href="javascript:;" {/if}> <i class="iconfont icon-{$item.node_icon}"></i>
                    <cite>{$item.node_title}</cite> {if condition="count($item.subList)>0"}<i class="menu-more iconfont icon-enter"></i>{/if}
                </a>
                {if condition="count($item.subList)>0"}
                <dl class="layui-nav-child">
                    {volist name="$item.subList" id="subItem"}
                    <dd {if condition="$subItem.node_controller==strtolower($controller) && $subItem.node_action==strtolower($action)" }class="layui-this" {/if}> <a href="/{$subItem.node_module}/{$subItem.node_controller}/{$subItem.node_action}" {$subItem.node_module=='api'?' target="_blank"':''}><i
                            class="iconfont icon-{$subItem.node_icon}"></i> {$subItem.node_title}</a>
                    </dd>
                    {/volist}
                </dl>
                {/if}
            </li>
            {/volist}
            <li class="layui-nav-item" style="height: 30px; text-align: center"></li>
            <span class="layui-nav-bar" style="top: 180px; height: 0px; opacity: 0;"></span>
        </ul>
    </div>
</div>